package com.Stash.Dao;


import com.Stash.Domain.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public interface Admin {

    List<Classification> classificationLimit(Page page);

    void classificationAdd(Classification classification);

    Classification classificationSelectName(Classification classification);

    void classificationUpdateName(Classification classification);

    List<Stash> StashSelectAll();

    void StashAdd(Stash stash);

    void stashUpdateInformation(Stash stash);

    Stash StashSelectAId(Stash stash);

    List<admins> AdminSelectAll();

    List<admins> AdminSelectLimit(Page page);

    void AdminUpdate(admins admins);

    admins AdminSelect(admins admins);

    void AdminAdd(admins admins);
    admins AdminSelectPhone(admins admins);
    admins AdminSelectP(admins admins);
    void DeleteClass(@Param("classificationId") Integer classificationId);
    List<ProductClass> SelectClassificationProductAll(@Param("classificationId") Integer classificationId);

}
